package com.solution.admin.promotion.entity;

import java.util.Date;
import java.util.List;

import com.solution.common.entity.BaseEntity;

/**
 * 活动信息实体类
 * 
 * @author xu_cc
 * @date 2017-09-27 23:24:51
 */
public class PromotionEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /* 业务属性 begin */

    private String productStr;
    private String targetStr;
    private String ruleJsonArr;
    private String isLimit;

    private List<PromotionProductEntity> productList;
    private List<PromotionTargetEntity> targetList;
    private List<PromotionRuleReduceEntity> ruleReduceList;
    private List<PromotionRuleGiftEntity> ruleGiftList;
    private List<PromotionRuleDiscountEntity> ruleDiscountList;
    private List<PromotionProductEntity> giftProductList;

    private String productCode;
    private String productName;
    /* 业务属性 end */
    /**
     * 活动编码
     */
    private String promotionCode;

    /**
     * 活动类型（1=满减，2=满赠，3=折扣）
     */
    private Integer promotionType;
    
    /**
     * 活动类型名称 
     */
    private String promotionTypeName;

    /**
     * 活动名称
     */
    private String promotionName;

    /**
     * 活动标题
     */
    private String promotionTitle;

    /**
     * 开始时间
     */
    private Date beginTime;

    /**
     * 结束时间
     */
    private Date endTime;
    
    
    /**
     * 商品活动描述
     */
    private String promotionIntro;
    
    /**
     * 修改人
     */
    private String modifier;
    
    

    /**
     * 活动编码
     */
    public String getPromotionCode() {
        return promotionCode;
    }

    public void setPromotionCode(String promotionCode) {
        this.promotionCode = promotionCode;
    }

    /**
     * 活动类型（1=满减，2=满赠，3=折扣）
     */
    public Integer getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(Integer promotionType) {
        this.promotionType = promotionType;
    }

    /**
     * 活动名称
     */
    public String getPromotionName() {
        return promotionName;
    }

    public void setPromotionName(String promotionName) {
        this.promotionName = promotionName;
    }

    /**
     * 活动标题
     */
    public String getPromotionTitle() {
        return promotionTitle;
    }

    public void setPromotionTitle(String promotionTitle) {
        this.promotionTitle = promotionTitle;
    }

    /**
     * 开始时间
     */
    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    /**
     * 结束时间
     */
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * 修改人
     */
    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    /**
     * @return the productList
     */
    public List<PromotionProductEntity> getProductList() {
        return productList;
    }

    /**
     * @param productList
     *            the productList to set
     */
    public void setProductList(List<PromotionProductEntity> productList) {
        this.productList = productList;
    }

    /**
     * @return the targetList
     */
    public List<PromotionTargetEntity> getTargetList() {
        return targetList;
    }

    /**
     * @param targetList
     *            the targetList to set
     */
    public void setTargetList(List<PromotionTargetEntity> targetList) {
        this.targetList = targetList;
    }

    /**
     * @return the ruleReduceList
     */
    public List<PromotionRuleReduceEntity> getRuleReduceList() {
        return ruleReduceList;
    }

    /**
     * @param ruleReduceList
     *            the ruleReduceList to set
     */
    public void setRuleReduceList(List<PromotionRuleReduceEntity> ruleReduceList) {
        this.ruleReduceList = ruleReduceList;
    }

    /**
     * @return the ruleGiftList
     */
    public List<PromotionRuleGiftEntity> getRuleGiftList() {
        return ruleGiftList;
    }

    /**
     * @param ruleGiftList
     *            the ruleGiftList to set
     */
    public void setRuleGiftList(List<PromotionRuleGiftEntity> ruleGiftList) {
        this.ruleGiftList = ruleGiftList;
    }

    /**
     * @return the ruleDiscountList
     */
    public List<PromotionRuleDiscountEntity> getRuleDiscountList() {
        return ruleDiscountList;
    }

    /**
     * @param ruleDiscountList
     *            the ruleDiscountList to set
     */
    public void setRuleDiscountList(List<PromotionRuleDiscountEntity> ruleDiscountList) {
        this.ruleDiscountList = ruleDiscountList;
    }

    /**
     * @return the giftProductList
     */
    public List<PromotionProductEntity> getGiftProductList() {
        return giftProductList;
    }

    /**
     * @param giftProductList
     *            the giftProductList to set
     */
    public void setGiftProductList(List<PromotionProductEntity> giftProductList) {
        this.giftProductList = giftProductList;
    }

    /**
     * @return the productStr
     */
    public String getProductStr() {
        return productStr;
    }

    /**
     * @param productStr
     *            the productStr to set
     */
    public void setProductStr(String productStr) {
        this.productStr = productStr;
    }

    /**
     * @return the targetStr
     */
    public String getTargetStr() {
        return targetStr;
    }

    /**
     * @param targetStr
     *            the targetStr to set
     */
    public void setTargetStr(String targetStr) {
        this.targetStr = targetStr;
    }

    /**
     * @return the ruleJsonArr
     */
    public String getRuleJsonArr() {
        return ruleJsonArr;
    }

    /**
     * @param ruleJsonArr
     *            the ruleJsonArr to set
     */
    public void setRuleJsonArr(String ruleJsonArr) {
        this.ruleJsonArr = ruleJsonArr;
    }

    /**
     * @return the isLimit
     */
    public String getIsLimit() {
        return isLimit;
    }

    /**
     * @param isLimit
     *            the isLimit to set
     */
    public void setIsLimit(String isLimit) {
        this.isLimit = isLimit;
    }

    /**
     * @return the productCode
     */
    public String getProductCode() {
        return productCode;
    }

    /**
     * @param productCode
     *            the productCode to set
     */
    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    /**
     * @return the productName
     */
    public String getProductName() {
        return productName;
    }

    /**
     * @param productName
     *            the productName to set
     */
    public void setProductName(String productName) {
        this.productName = productName;
    }

	public String getPromotionIntro() {
		return promotionIntro;
	}

	public void setPromotionIntro(String promotionIntro) {
		this.promotionIntro = promotionIntro;
	}

	public String getPromotionTypeName() {
		return promotionTypeName;
	}

	public void setPromotionTypeName(String promotionTypeName) {
		this.promotionTypeName = promotionTypeName;
	}

}
